{{#if global_curStatus.isMobile}}
    <div id="messageContainer" class="mainContent">
      <div class="wrapperInner">
	<!--紧急呼叫-->
        <div class="line-item clearfix">
          <div class="pull-left nopadding-horizontal nopadding-vertical imgArea icon-big">
            <a href="javascript:;"><i class="fa fa-bell"></i></a>
          </div>
          <div class="contentArea news-box">
            <div class="col-xs-12">
              <div class="clearfix">
		<p class="title col-xs-8 ellipsis">紧急呼叫</p>
		<p class="col-xs-4 top10 bottom0 nopadding-right textRight">2015-10-31</p>
	      </div>
              <div class="content">
	      <!--点击展开时p标签移除类ellipsis，a下面的i标签移除fa-chevron-down添加fa-chevron-up类名-->
		<p class="pull-left ellipsis">早上起来后给老人一进行翻身早上起来后给老人一进行翻身早上起来后给老人一进行翻身早上起来后给老人一进行翻身早上起来后给老人一进行翻身</p>
		<a class="pull-right" href="javascript:;"><i class="fa fa-chevron-down"></i></a>
	      </div>
            </div>
          </div>
        </div>
	<!--临时呼叫-->
	<div class="line-item clearfix">
          <div class="pull-left nopadding-horizontal nopadding-vertical imgArea icon-big">
            <a href="javascript:;"><i class="fa fa-bell-o"></i></a>
          </div>
          <div class="contentArea">
            <div class="col-xs-12">
	      <div class="clearfix line-only">
		<p class="title col-xs-8 ellipsis">临时呼叫</p>
		<p class="col-xs-4 top10 bottom0 nopadding-right textRight">2015-10-31</p>
	      </div>
            </div>
          </div>
        </div>
	<!--消息提醒-->
        <div class="line-item clearfix">
          <div class="pull-left nopadding-horizontal nopadding-vertical imgArea icon-big">
            <a href="javascript:;"><i class="fa fa-bullhorn"></i></a>
          </div>
          <div class="contentArea news-box">
            <div class="col-xs-12">
              <div class="clearfix">
		<p class="title col-xs-8 ellipsis">消息提醒</p>
		<p class="col-xs-4 top10 bottom0 nopadding-right textRight">2015-10-31</p>
	      </div>
              <div class="content">
	      <!--点击展开时p标签移除类ellipsis，a下面的i标签移除fa-chevron-down添加fa-chevron-up类名-->
		<p class="pull-left">早上起来后给老人一进行翻身早上起来后给老人一进行翻身早上起来后给老人一进行翻身早上起来后给老人一进行翻身早上起来后给老人一进行翻身</p>
		<a class="pull-right" href="javascript:;"><i class="fa fa-chevron-up"></i></a>
	      </div>
            </div>
          </div>
        </div>
      </div>
    </div>
{{else}}
  <div class="row">
    <div class="col-sm-8">
      <div class="row">
        <div class="col-sm-3">

        </div>
      <div class="col-sm-3">
        {{#power-select placeholder="任务周期" options=cycles selected=durtype
          allowClear=true onchange=(action "timework") as |cycle|}}
          {{cycle.typename}}
        {{/power-select}}
      </div>
    </div>
  </div>
    <div class="pull-right margin-right15">
      <div class="input-group">
            {{input type="search" class="form-control" name="search" value=tasksname enter='searchta' placeholder="搜索任务"}}
      </div>
    </div>
  </div>


  <!-- pc端使用ember-cli-pagination -->
  {{#if taskList}}
    {{#each taskList as |task|}}
      {{ log 'task in hbs:' task }}
        <div class="panel panel-default hovertype width100 margin0bottom10top"{{action "gotoDetailPage" task on="click"}}>
          {{log 'task.CRL_showStatus' taskList}}
          {{log 'task.pubuser..' task.pubuser.entName}}
          {{#callbusi/task-item-nodetail
            task=task
            origin=1
            invitation="invitation"}}
          {{/callbusi/task-item-nodetail}}
        </div>
    {{/each}}
    <!-- PC端分页导航 -->
    <div class="row">
      <div class="tight-row bk-color-white col-sm-5 width50 nopadding-horizontal margin15 padding5">
        {{log 'taskList get in hbs' taskList}}
        {{page-numbers content=taskList showFL=true numPagesToShow=3}}
      </div>
    </div>
  {{else}}
    <h1 class="center unTask">没有任务</h1>
  {{/if}}
{{/if}}
